package com.wh.user.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wh.user.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper //也可以在启动类扫描mapper包
//@Repository
public interface IUserDao extends BaseMapper<User> {
    List<User> findByPage(@Param("page") IPage<User> page, @Param("ew") Wrapper<User> qw);

}